package com.lu.derby.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @program derby-demo
 * @description:
 * @author: zhanglu
 * @create: 2020-06-16 17:10:00
 */
@Data
@Accessors(chain = true)
@TableName("sys_user")
public class SysUser {

    @TableId(value = "id", type = IdType.NONE)
    private String id;
    @TableField("name")
    private String name;
    @TableField("age")
    private Integer age;

}
